package com.egreen.common.pojo.DTO.user.loginaccount;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: lyy
 * @Version: 1.0
 * @JDK-version: 1.8
 * @Date: 2022/7/21 14:08
 * @Description:
 */
@Data
public class LoginByPasswordDTO implements Serializable {

    @NotBlank(message = "登陆凭证不能为空")
    private String loginKey;

    @NotBlank(message = "密码不能为空")
    private String password;
}
